package com.linkhub.oms.common.enums.mp.func;

import com.github.yulichang.wrapper.enums.BaseFuncEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description: StockFuncEnum
 * @Author: echo
 * @Date: 2024/4/26 11:01
 * @Version: 1.0
 */
@Getter
@AllArgsConstructor
public enum StockFuncEnum implements BaseFuncEnum {
    STOCK_COUNT_IF_NULL("IFNULL(%s, '0')"),
    STOCK_NAME_IF_NULL("IFNULL(%s, '微仓')"),
    ;
    private final String sql;


    @Override
    public String getSql() {
        return this.sql;
    }
}
